


<table class="layui-table" >
	<colgroup>
		<col width="100"><col>
		<col width="200"><col>
	</colgroup>
    <tr>
        <td class="w">ID</td><td th:text="${centerProduct.id}"></td>
        <td class="w">名称</td><td th:text="${centerProduct.name}"></td>
    </tr>
    <tr>
        <td class="w">类别</td><td th:text="${centerProduct.type}"></td>
        <td class="w">价格(10000=1元)</td><td th:text="${centerProduct.price}"></td>
    </tr>
    <tr>
        <td class="w">是否可自定义</td><td th:text="${centerProduct.price_edit}"></td>
        <td class="w">有效时间</td><td th:text="${centerProduct.period}"></td>
    </tr>
    <tr>
        <td class="w">有效时间类型</th><td th:text="${centerProduct.period_type}"></td>
        <td class="w">创建时间</th><td th:text="${#dates.format(centerProduct.ctime,'yyyy-MM-dd HH:mm:ss')}"></td>
    </tr>
    <tr>   
         <td class="w">备注</th><td th:text="${centerProduct.remark}"></td>
    </tr>
</table>

<button class="layui-btn" style="margin-left:40%;" id="closeBtn">关闭</button>

<script>
//关闭按钮
$("#closeBtn").click(function(){
	  layer.closeAll();
})
</script>